package com.foreknow.elmboot.service;

import com.foreknow.elmboot.po.Business;

import java.util.List;

public interface BusinessService {
    /**
     *根据orderTypeId查询商家
     * @param orderTypeId
     * @return
     * @throws Exception
     */
    public List<Business> getOrderByTypeId(Integer orderTypeId) ;

    /**
     *根据businessId查询商家
     * @param businessId
     * @return
     * @throws Exception
     */
    public Business getBusinessById(Integer businessId);

}
